-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /browserconfig.xml
file and tile images
#1481
Conversation
+1 It sucks we have to add yet another “magic file” in the root (+ the images if you choose to add them), but there are just too many downsides if we don’t. |
+1 but I also agree with Mathias! ;-)
|
+1 |
This adds three more files to the root directory which is pretty much I think. What are the downside of placing the tile images in a separate directory? |
The annoying |
@drublic The reason why I haven't reused the
@drublic AFAIK, no real downsides (just a few extra bytes in I've placed the tile images in the root because I thought:
Updates:
|
Do Windows Phones use the same file? |
@pzi:
|
@alrra Yeah, I saw that phrase but I was wondering if there are any test cases / more information around it (only had a quick look around myself). The other thing is that IE11 is not yet available on the phone afaik. |
@alrra I'm good with leaving the tile icons in the root directory. Looks good to me now. We should ship it (with the other relevant changes) :) |
I personally lean towards having icons inside 'img' or 'icons' folder, less files in the root => less distractions. |
By default, starting with IE11 on Windows 8.1, IE will request the `/browserconfig.xml` file when a user clicks/touches the `pin site` button (same as Safari for iOS does with the `apple-touch-icons` when the user touches the `share` button). Adding the `/browserconfig.xml` file and the tile images: * reduces the number of 404s, especially as IE11 on Windows 8.1 gets more market share * provides a starting point for dealing with Windows tiles * reminds users about the tile images, so that their website doesn't end up having as a tile the default IE11 logo, or (if the favicon is 32×32px or bigger and not `.ico`) the website's favicon * unlike using `<meta>` tags, offers a way that doesn't increase the page size Only two images are provided since: * `tile.png` (558×558px) - can be used for the `Small`, `Medium`, and `Large` tiles, being automatically resized where necessary * `tile-wide.png` (558×270px) - can be used for the `Wide` tile as, in this case, resizing the 558×558px image would just end up looking weird The two images are 558×558px and 558×270px because those are the recommended image sizes in order for the tiles to look good on a wide range of devices. For more in depth information, please refer to the MSDN documentation: * http://msdn.microsoft.com/en-us/library/ie/dn455106.aspx * http://msdn.microsoft.com/en-us/library/ie/dn255024.aspx Close #1481.
Thanks for the feedback everyone! |
Nice work, thanks @alrra. |
Is there a Demo-Page? i tried http://html5boilerplate.com/ but that did not work :-/ but if i use |
@FlashJunior works for me, can you provide more information?
|
it's also not working @ http://demo.html5boilerplate.com/ without metatag (http://demo.html5boilerplate.com/): Testmachine: Windows 8.1 Pro |
I have it working on http://demo.html5boilerplate.com, but not locally. I found that removing the "X-UA-Compatible" meta tag did the trick. |
@FlashJunior After clicking the the pin button multiple time, I was able to kinda reproduce that. It seams to me that IE11 doesn't always use the tile images (although, looking at the logs, the I think this is may be a problem with IE11, so I've filed a bug. |
thx. i use |
By default, starting with IE11 on Windows 8.1, IE will request the `/browserconfig.xml` file when a user clicks/touches the `pin site` button (same as Safari for iOS does with the `apple-touch-icons` when the user touches the `share` button). Adding the `/browserconfig.xml` file and the tile images: * reduces the number of 404s, especially as IE11 on Windows 8.1 gets more market share * provides a starting point for dealing with Windows tiles * reminds users about the tile images, so that their website doesn't end up having as a tile the default IE11 logo, or (if the favicon is 32×32px or bigger and not `.ico`) the website's favicon * unlike using `<meta>` tags, offers a way that doesn't increase the page size Only two images are provided since: * `tile.png` (558×558px) - can be used for the `Small`, `Medium`, and `Large` tiles, being automatically resized where necessary * `tile-wide.png` (558×270px) - can be used for the `Wide` tile as, in this case, resizing the 558×558px image would just end up looking weird The two images are 558×558px and 558×270px because those are the recommended image sizes in order for the tiles to look good on a wide range of devices. For more in depth information, please refer to the MSDN documentation: * http://msdn.microsoft.com/en-us/library/ie/dn455106.aspx * http://msdn.microsoft.com/en-us/library/ie/dn255024.aspx Close h5bp#1481.
By default, starting with IE11 on Windows 8.1, IE will request the `/browserconfig.xml` file when a user clicks/touches the `pin site` button (same as Safari for iOS does with the `apple-touch-icons` when the user touches the `share` button). Adding the `/browserconfig.xml` file and the tile images: * reduces the number of 404s, especially as IE11 on Windows 8.1 gets more market share * provides a starting point for dealing with Windows tiles * reminds users about the tile images, so that their website doesn't end up having as a tile the default IE11 logo, or (if the favicon is 32×32px or bigger and not `.ico`) the website's favicon * unlike using `<meta>` tags, offers a way that doesn't increase the page size Only two images are provided since: * `tile.png` (558×558px) - can be used for the `Small`, `Medium`, and `Large` tiles, being automatically resized where necessary * `tile-wide.png` (558×270px) - can be used for the `Wide` tile as, in this case, resizing the 558×558px image would just end up looking weird The two images are 558×558px and 558×270px because those are the recommended image sizes in order for the tiles to look good on a wide range of devices. For more in depth information, please refer to the MSDN documentation: * http://msdn.microsoft.com/en-us/library/ie/dn455106.aspx * http://msdn.microsoft.com/en-us/library/ie/dn255024.aspx Ref: h5bp/html5-boilerplate#1481.
By default, starting with IE11 on Windows 8.1, IE will request the `/browserconfig.xml` file when a user clicks/touches the `pin site` button (same as Safari for iOS does with the `apple-touch-icons` when the user touches the `share` button). Adding the `/browserconfig.xml` file and the tile images: * reduces the number of 404s, especially as IE11 on Windows 8.1 gets more market share * provides a starting point for dealing with Windows tiles * reminds users about the tile images, so that their website doesn't end up having as a tile the default IE11 logo, or (if the favicon is 32×32px or bigger and not `.ico`) the website's favicon * unlike using `<meta>` tags, offers a way that doesn't increase the page size Only two images are provided since: * `tile.png` (558×558px) - can be used for the `Small`, `Medium`, and `Large` tiles, being automatically resized where necessary * `tile-wide.png` (558×270px) - can be used for the `Wide` tile as, in this case, resizing the 558×558px image would just end up looking weird The two images are 558×558px and 558×270px because those are the recommended image sizes in order for the tiles to look good on a wide range of devices. For more in depth information, please refer to the MSDN documentation: * http://msdn.microsoft.com/en-us/library/ie/dn455106.aspx * http://msdn.microsoft.com/en-us/library/ie/dn255024.aspx Ref: h5bp/html5-boilerplate#1481.
When I see an industry standard for browsers on W3C that includes browserconfig.xml, I will then implement it. |
I updated my VM Win 8.1 with IE 11.0.9. Still not working without Meta-Tag :-/ |
Last update from Microsoft was: |
By default, starting with IE11 on Windows 8.1, IE will request the
/browserconfig.xml
file when a user clicks/touches thepin site
button (same as Safari for iOS does with theapple-touch-icons
when the user touches theshare
button ).What tiles look like
Adding
/browserconfig.xml
and the tile images:.ico
) the website's favicon<meta>
tags, offers a way that doesn't increase the page sizeOnly two images are provided since:
tile.png
(558×558px) - can be used for theSmall
,Medium
, andLarge
tiles, being automatically resized where necessarytile-wide.png
(558×270px) - can be used for theWide
tile as, in this case, resizing the 558×558px image would just end up looking weirdThe two images are 558×558px and 558×270px because those are the recommended image sizes in order for the tiles to look good on a wide range of devices.
For more in depth information, please refer to the MSDN documentation:
Note(s):
from my tests, the
/browserconfig.xml
file seems to be requested even if the tile images are specified in thehtml
page:the
/browserconfig.xml
file and the title images are also requested when the user clicks/touches theadd to favorites
button: